Of G Uess and C Heck P Rograms in a Nswer S Et P Rogramming : a M Eta - I Nterpreter and a Pplications
نویسندگان
چکیده
Answer set programming (ASP) with disjunction offers a powerful tool for declaratively representing and solving hard problems. Many NP-complete problems can be encoded in the answer set semantics of logic programs in a very concise and intuitive way, where the encoding reflects the typical “guess and check” nature of NP problems: The property is encoded in a way such that polynomial size certificates for it correspond to stable models of a program. However, the problem-solving capacity of full disjunctive logic programs (DLPs) is beyond NP, and captures a class of problems at the second level of the polynomial hierarchy. While these problems also have a clear “guess and check” structure, an encoding in a DLP reflecting it intuitively may sometimes be a non-obvious task, in particular if the “check” itself is a co-NP-complete problem; usually, such problems are solved by interleaving separate guess and check programs, where the check is expressed by inconsistency of the check program. In this paper, we present general transformations of head-cycle free (extended) logic programs into stratified and positive (extended) disjunctive logic programs based on meta-interpretation techniques. The answer sets of the original and the transformed program are in simple correspondence, and, moreover, inconsistency of the original program is indicated by a designated answer set of the transformed program. This enables one to integrate separate “guess” and “check” programs, which are often easy to obtain, automatically into a single disjunctive logic program. Our results complement recent results on meta-interpretation in ASP, and extend methods and techniques for a declarative “guess and check” problem solving paradigm through ASP.
منابع مشابه
Amitraz Poisoning; A case study
A m i t r a z, a n i ns e c t i c i d e /a ca ri c i de of the f o r m a m i d i n e p e st i c i d e s group, is a ? 2 a d r e n e r g i c ag on i st a nd of t he a m i d i ne c h e m i ca l f a m il y generally us e d to c o n t r ol animal e c top a r a s i t e s. Poisoning due to am i t r a z i s r a r e and character...
متن کاملنقش محافظتی استروژن و پروژسترون بر بافت معدی به دنبال ایسکمی- رپرفیوژن معدی در موشهای صحرایی نر
Background and Objective: Ischemia-reperfusion (I/R) injury repeatedly occurs in situations such as surgery, hemorrhage, burns, trauma, and infection. It has also been found that females were more resistant than males, indicating that female sex hormones have a protective function. The aim of this study was to determine the role of estrogen, progesterone, and their combination in protecting the...
متن کاملOptimal conditions for tissue growth and branch induction of Gracilariopsis persica
The species Gracilariopsis persica was first described by Bellorin et al. (2008). G. persica grows from late September to July and shows high growth rate from January to May in the Persian Gulf. Tissue growth and branch induction of red seaweed, Gracilariopsis persica from the Persian Gulf investigated under various culture levels of temperature, light intensity, photoperiod, salinity, initial ...
متن کاملتاثیر 12 هفته تمرینات مقاومتی بر سطوح آپلین، امنتین-1 و مقاومت به انسولین در زنان مسن دارای اضافه وزن مبتلا به دیابت نوع 2
Background and Objective: Nowadays, it has been recognized that Apelin and Omentin as the hormones secreted by adipose tissue, can be effective in regulating metabolism. The purpose of the present study was to determine the impact of 12 weeks of resistance training exercises on the Apelin, Omentin-1 levels and insulin resistance in overweight elderly women suffering from type 2 diabetes. Materi...
متن کاملتاثیر ویتامین C بر تراکم استخوان زنان یائسه (یک کارآزمایی بالینی)
Background and Objective: The decline of bone mineral density (BMD) and prevalence of osteoporosis is a silent epidemic of the century. World Health Organization announced osteoporosis following cancer, heart attack and cerebral stroke as the fourth human enemy. The objective of the current study was to estimate the effect of vitamin C on BMD in menopausal women with balanced diet. Materials an...
متن کامل